﻿using LED;
using PlateNumVideo.Entity;
using System;
using System.Windows.Forms;

namespace DeviceManager.Entity
{
    /// <summary>
    /// 初始化参数
    /// </summary>
    public class PlateRecParam
    {
        /// <summary>
        /// 设备是否使用
        /// </summary>
        public bool IsUse { get; set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        public PlateNumType DevType { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public int DevNo { get; set; }

        /// <summary>
        /// 车号识别初始化参数
        /// </summary>
        public InitPlateParam InitParam { get; set; }

        /// <summary>
        /// 状态设置回调函数
        /// </summary>
        public Action<int, bool> SetStatus { get; set; }

        /// <summary>
        /// 回调函数
        /// </summary>
        public Action<PlateNumRes> ResultCall { get; set; }
    }
}
